package arithmetic;


import org.junit.jupiter.api.Test;

class Test2 {

         @Test
        public  void cc() {
// 1+2+3+4+5+....+100
            int sum = 0;
            int count = 100;
            sum = (count + 1) * 100 / 2;
            System.out.println(sum);
        }


}
